package com.gitee.hermer.engine.jars.demo.boot;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@Configuration
@Order(0)
@EnableWebMvc
@ComponentScan(basePackages = {"com.gitee.hermer.engine.jars.demo"}, useDefaultFilters = false, includeFilters = {@Filter(Controller.class),@Filter(ControllerAdvice.class)})
public class SpringMVCConfig{

}
